//
//  B_TwoButtonRightFooterView.m
//  testsdfsdfsdf
//
//  Created by 薛小刚 on 2018/8/28.
//  Copyright © 2018年 薛小刚. All rights reserved.
//

#import "B_TwoButtonRightFooterView.h"

@implementation B_TwoButtonRightFooterView
+ (instancetype) initB_TwoButtonRightFooterView {
    B_TwoButtonRightFooterView * view = [[NSBundle mainBundle] loadNibNamed:NSStringFromClass(self) owner:nil options:nil].lastObject;
    view.B_leftButton.layer.masksToBounds = YES;
    view.B_leftButton.layer.cornerRadius = 2;
    view.B_leftButton.layer.borderColor = [UIColor color_text_light_gray].CGColor;
    view.B_leftButton.layer.borderWidth = 1;
    
    return view;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (IBAction)B_leftButtonAction:(id)sender {
    if (self.B_twoButtonAction) {
        self.B_twoButtonAction(sender);
    }
}

- (IBAction)B_rightButtonAction:(id)sender {
    if (self.B_twoButtonAction) {
        self.B_twoButtonAction(sender);
    }
}
@end
